#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int get_strlen(char* p)
{
	int count = 0;
	while (*p != '\0')
	{
		p++;
		count++;
	}
	return count;
}
int main()
{
	char arr[] = "abcdefg";
	printf("%d", get_strlen(arr));
}